package demo1.Assignment2.entity;

public interface Brand {
    String brand();

    class Apple implements Brand {

        @Override
        public String brand() {
            return "Iphone";
        }

    }
    class Huawei implements Brand {

        @Override
        public String brand() {
            return "Huawei";
        }
    }
}
